package com.cqupt.service;

import java.util.List;
import java.util.Map;

/**
 * @Desciption
 * Template OS Linux by Zabbix agent:10001
 * Template OS Windows by Zabbix agent:10081
 * Template Net Huawei VRP SNMP:10229(未禁用其监控项原型)
 *      初始所需itemid："29231","29230","31389","31386","31446","31445","31452","31449"
 *      磁盘相关（Window、Linux）：31389 31388 31386 31446 31445 31443
 *      剩余监控项原型全部禁止
 * @Date 2021/4/23 11:18
 */
public interface LLDService {
    // 模板id
    String[] templateidList = {
        "10001","10081","10229"
    };
    String[] tempidListNoSNMP = {
            "10001","10081"
    };
    // 初始所必须的监控项原型id
    String[] itemidNeed = {
        "29231","29230", "31452","31449", "29224","29225", "29226","29227","29521","29522","29523"
    };

    // 根据模板id找到其下的所有监控项原型
    public List<Map<String, Object>> getItemPrototypeByTemp(String[] templateidList);
    // 根据监控项原型id,更新监控项原型dicovery状态
    public Map<String,Object> updateItemPrototype(String[] itemIds, String[] itemidNeed);
    // 根据模板id找的网络接口监控项原型
    public List<Map<String, Object>> setDelayNetItemPrototypeByTemp(String[] templateidList);
    // 设置net网络接口
    void updateNetItemPrototype(String[] prototypeNetItemids);
}
